package dataInterpreter;
import org.opencv.core.*;


public abstract class Feature {
	private int type;
	private int minWidth;
	private int minHeight;
	private double value;
	
	public abstract double calculateValue(double[][] image, int x, int y, int width, int height);

	public int getType() {
		return type;
	}

	public void setType(int type) {
		this.type = type;
	}

	public int getMinWidth() {
		return minWidth;
	}

	public void setMinWidth(int minWidth) {
		this.minWidth = minWidth;
	}

	public int getMinHeight() {
		return minHeight;
	}

	public void setMinHeight(int minHeight) {
		this.minHeight = minHeight;
	}

	public double getValue() {
		return value;
	}

	public void setValue(double value) {
		this.value = value;
	}
}
